package grape.base.rest.func.form;

import grape.common.rest.form.BaseForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 菜单功能表
 * </p>
 *
 * @author yangwei
 * @since 2019-09-23
 */
@Data
@EqualsAndHashCode(callSuper=false)

@Accessors(chain = true)
@ApiModel(value="菜单功能移动节点表单对象")
public class FuncMoveNodeForm extends BaseForm {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "id不能为空")
    @ApiModelProperty(value = "移动节点的id",required = true)
    private String id;

    @ApiModelProperty(value = "父id",notes = "不填写为根节点")
    private String parentId;


}
